package com.mfangsoft.zhuangjialong.integration.usermanage.model;

import java.io.Serializable;
import java.util.Date;

/**
 *   卖家积分表
 * table t_app_seller_point
 *
 * @MLTH_generated do_not_delete_during_merge
 */
public class SellerPointEntity implements Serializable {
    /**
     *   主键
     * column id
     *
     * @MLTH_generated
     */
    private Long id;

    /**
     *   用户id
     * column seller_id
     *
     * @MLTH_generated
     */
    private Long seller_id;

    /**
     *   积分类型
     * column type_index
     *
     * @MLTH_generated
     */
    private Integer type_index;

    /**
     *   积分类型name
     * column type_name
     *
     * @MLTH_generated
     */
    private String type_name;

    /**
     *   积分
     * column point
     *
     * @MLTH_generated
     */
    private Integer point;

    /**
     *   积分标题
     * column title
     *
     * @MLTH_generated
     */
    private String title;

    /**
     *   创建时间
     * column create_time
     *
     * @MLTH_generated
     */
    private Date create_time;
    
    private Long activity_id;
    
    public Long getActivity_id() {
		return activity_id;
	}

	public void setActivity_id(Long activity_id) {
		this.activity_id = activity_id;
	}

	/**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table t_app_seller_point
     *
     * @MLTH_generated
     */
    private static final long serialVersionUID = 1L;

    /**
     *   主键
     * @return the value of BIGINT
     *
     * @MLTH_generated
     */
    public Long getId() {
        return id;
    }

    /**
     *   主键
     * @param id the value for 
     *
     * @MLTH_generated
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     *   用户id
     * @return the value of BIGINT
     *
     * @MLTH_generated
     */
    public Long getSeller_id() {
        return seller_id;
    }

    /**
     *   用户id
     * @param seller_id the value for 
     *
     * @MLTH_generated
     */
    public void setSeller_id(Long seller_id) {
        this.seller_id = seller_id;
    }

    /**
     *   积分类型
     * @return the value of INTEGER
     *
     * @MLTH_generated
     */
    public Integer getType_index() {
        return type_index;
    }

    /**
     *   积分类型
     * @param type_index the value for 
     *
     * @MLTH_generated
     */
    public void setType_index(Integer type_index) {
        this.type_index = type_index;
    }

    /**
     *   积分类型name
     * @return the value of VARCHAR
     *
     * @MLTH_generated
     */
    public String getType_name() {
        return type_name;
    }

    /**
     *   积分类型name
     * @param type_name the value for 
     *
     * @MLTH_generated
     */
    public void setType_name(String type_name) {
        this.type_name = type_name == null ? null : type_name.trim();
    }

    /**
     *   积分
     * @return the value of INTEGER
     *
     * @MLTH_generated
     */
    public Integer getPoint() {
        return point;
    }

    /**
     *   积分
     * @param point the value for 
     *
     * @MLTH_generated
     */
    public void setPoint(Integer point) {
        this.point = point;
    }

    /**
     *   积分标题
     * @return the value of VARCHAR
     *
     * @MLTH_generated
     */
    public String getTitle() {
        return title;
    }

    /**
     *   积分标题
     * @param title the value for 
     *
     * @MLTH_generated
     */
    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    /**
     *   创建时间
     * @return the value of TIMESTAMP
     *
     * @MLTH_generated
     */
    public Date getCreate_time() {
        return create_time;
    }

    /**
     *   创建时间
     * @param create_time the value for 
     *
     * @MLTH_generated
     */
    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", seller_id=").append(seller_id);
        sb.append(", type_index=").append(type_index);
        sb.append(", type_name=").append(type_name);
        sb.append(", point=").append(point);
        sb.append(", title=").append(title);
        sb.append(", create_time=").append(create_time);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}